Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setting up npm build #12

Merged
merged 2 commits into from
Apr 14, 2015
Merged

Setting up npm build #12

merged 2 commits into from
Apr 14, 2015

Conversation

flarnie
Copy link
Contributor

@flarnie flarnie commented Mar 30, 2015

No description provided.

@rf-
Copy link

rf- commented Mar 30, 2015

Looks good to me 👌

Why:
 - To allow us to work on the component using JSX and ES6, which
   increases maintainability and allows others to more easily contribute
 - To allow users to require either the built or unbuilt version of the
   component

What:
 - Added a 'build-npm' script and used it in the 'prepublish' script for npm
 - Use babel in the build script to parse ES6 and JSX
 - Add some ES6 and JSX to our component's source, now that we can
 - Save built version of component in 'build/npm/waypoint.js'
 - Point the 'main' entry point for npm at 'build/npm/waypoint.js'
 - Inline the webpack configs into the 'karma.conf.js' and remove cruft
 - Changed some require paths to work with new build system
 - Added 'jsx' syntax and extension to 'waypoint' unbuilt version.

How:
> npm run build-npm

This release also contains a fix for a bug where the 'resize' event was
possibly missed when we had a 'scrollableParent' other than the window.
@lencioni lencioni assigned flarnie and unassigned rf- Mar 31, 2015
flarnie added a commit that referenced this pull request Apr 14, 2015
Setting up npm build; releasing version 1.0
@flarnie flarnie merged commit 0da40cd into master Apr 14, 2015
@lencioni lencioni deleted the setting_up_npm_build branch April 20, 2015 15:40
lencioni added a commit that referenced this pull request Jun 18, 2018
None of the changes affect how consolidated-events is used in
react-waypoint.

Changelog:

- Now built with rollup ([#8](lencioni/consolidated-events#8))
- Deprecated `removeEventListener` export removed ([#13](lencioni/consolidated-events#13))
- Passive event listener test is now removed after being added ([#11](lencioni/consolidated-events#11))
- Reduced bundle size impact by replacing a class with a function ([#12](lencioni/consolidated-events#12))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants